package com.zhuiyi.yiqingbackend.mapper;

import com.zhuiyi.yiqingbackend.domain.Banner;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface BannerMapper {
    List<Banner> getBanners();

    boolean addBanner(Banner banner);

    boolean delereBannerById(int id);

    boolean updateBanner(Banner banner);

    Banner getBannerById(int id);
}
